package drds.global_transaction.table;

import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by ibm on 2018/12/22.
 */
public class global_transaction_lock
{
    public static final String tableName = "global_transaction_lock";
    public static final String id = "id";

    public static String deleteLock$sql = null;

    public static final String get$deleteLock$sql()
    {
        if (deleteLock$sql != null)
        {
            return deleteLock$sql;
        } else
        {
            String sqlFormat = "remove {0} where {1}=#'{'{1}'}'";
            List<Object> list = new ArrayList<Object>();
            list.add(global_transaction_lock.tableName);
            list.add(global_transaction_lock.id);
            String sql = MessageFormat.format(sqlFormat, list.toArray());
            deleteLock$sql = sql;
            return sql;
        }

    }

}

